<div class="container">

  <form class="form-signin" method="post">
  	<?php if(!empty($msg)): ?>
  	<div class="alert <?php echo $msg['type'] ?>"><?php echo $msg['str'] ?>
		<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
  	</div>
  	<?php endif; ?>
	<h2 class="form-signin-heading">Please sign in</h2>
	<input type="text" name="username" class="input-block-level" placeholder="Username">
	<input name="password" type="password" class="input-block-level" placeholder="Password">
	<button class="btn btn-large btn-primary" type="submit">Sign in</button>
  </form>

</div> <!-- /container -->